class AddItemStatistics < ActiveRecord::Migration
  def self.up
    add_column :item_statistics, :item_id, :integer, :null => false
    add_column :item_statistics, :item_name, :string, :null => false
    add_column :item_statistics, :total_view, :integer, :default => 0
    add_column :item_statistics, :total_ad_click, :integer, :default => 0
  end

  def self.down
  end
end
